<@master template="master/master-loan" title="征信详情">

<div class="detailsBox pb60">

		<!-- 作废信息 begin -->
		<#if o2oZxEntity.loanapplyNo??>
		<div class="action-ajax-load"
			data-url="<@url value='/rbadloan/cancleDetail?loanapplyNo=${o2oZxEntity.loanapplyNo}' />"></div>
		</#if>
		<!-- 作废信息 end -->

		<!-- 客户信息 begin -->
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/loanerZxView?id=${o2oZxEntity.id}' />">
			<p class="onload"></p>
		</div>
		<!-- 客户信息 end -->
		
		<!-- 征信基本资料 begin -->
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/ZxZlView?id=${o2oZxEntity.id}' />">
			<p class="onload"></p>
		</div>
		<!-- 征信基本资料 end -->
		
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>附件信息
		    <@permission permissionName="findZxbgfj">
			<a class="action-ajax-btn fr edit btn_blue" href="/ro2ozx/tkdetailUploadView?id=${o2oZxEntity.id}">查看</a>
		    </@permission>
		</h3>
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/detailUploadView?id=${o2oZxEntity.id}&readonly=${datalistReadonly}' />">
			<p class="onload"></p>
		</div>
	</div>
		
		<div class="detailsBox"> <!--审核历史--> 
			<div class="openBox">
				<h3 class="mt20">
				<i class="jtIco1"></i>征信查询审核流程
				</h3>
					<#if o2oZxEntity.loanapplyNo??>
						<div class="action-ajax-load" data-url="<@url value='${approvUrl1}' domain='o2o.admin.workflow'/>"  style="display: none" >审核历史加载中。。。</div>
					</#if>
					<div class="action-ajax-load" data-url="<@url value='${approvUrl}' domain='o2o.admin.workflow'/>"  style="display: none" >审核历史加载中。。。</div>
			</div>
		<div class="detailsBox"> <!--审核历史--> 
		
	<div id="detailBtnDiv" class=" tac footFixed">
	<table  border="0" cellpadding="0" cellspacing="0" width="100%">
	 <tr>
             <td >
             <#if o2oZxEntity??><!-- ??是否为空,不为空则执行 -->
	             <#if o2oZxEntity.zxStatus=="NEW"><!-- 启动流程按钮 -->
	            	<#list buttons as button>
					<#if button.permissionCode??>
						<@permission permissionName="${button.permissionCode}">
							<#if button.type='AJAX'>
							<a href="<@url value='${button.url}'/>" class="btn_auto_30 btn_blue action-ajax-btn">${button.title}</a>
							</#if>
							<#if button.type='REDIRECT'>
							<a href="<@url value='${button.url}'/>" class="btn_auto_30 btn_blue">${button.title}</a>
							</#if>
							<#if button.type='OPEN'>
							<a href="<@url value='${button.url}'/>" class="btn_auto_30 btn_blue" target="_blank">${button.title}</a>
							</#if>
							<#if button.type='AJAX_CONFIRM'>
							<a href="<@url value='${button.url}'/>" class="btn_auto_30 btn_blue action-ajax-btn-confirm" action-ajax-form-confirm-message="${button.confirmMessage}">${button.title}</a>
							</#if>
						</@permission>
					</#if>
					</#list>
	            	 <@permission permissionName="loanManageEditNewZx">
	            	<a href="<@url value='/o2ozx/findO2oZx?id=${o2oZxEntity.id}'/>" class="btn_auto_30 btn_blue">编辑</a>
	            	 </@permission>
	            </#if>
            </#if>
            </td>
         </tr>
	 </table>
	 </div>
	
	
</div>
<@js src="/widget/jquery/jquery-1.11.3.min.js"/><@jsRender/> <@css
href="/easyui/themes/default/easyui.css"/> <@css
href="/easyui/themes/icon.css"/> <@js
src="/easyui/jquery.easyui.min.js"/><@jsRender/>
<script type="text/javascript">

</script>
</@master>
